package co.yixiang.yshop.module.product.controller.admin.storeproductstockwarning.vo;

import lombok.*;

import java.util.*;

import io.swagger.v3.oas.annotations.media.Schema;
import co.yixiang.yshop.framework.common.pojo.PageParam;

import java.time.LocalDateTime;

import org.springframework.format.annotation.DateTimeFormat;

import static co.yixiang.yshop.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 商品库存预警 Excel 导出 Request VO，参数和 StoreProductStockWarningPageReqVO 是一致的")
@Data
public class StoreProductStockWarningExportReqVO {

    @Schema(description = "商品", example = "20546")
    private Long goodsId;

    @Schema(description = "规格", example = "21621")
    private Long goodsSkuId;

    @Schema(description = "规格名")
    private String goodsSkuText;

    @Schema(description = "预警值")
    private Integer stockWarning;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
